import 'package:flutter/material.dart';

class AppColors {
  // 白天模式颜色
  static const lightTextColor = Color(0xFF333333);
  static const lightSubTextColor = Color(0xFF999999);
  static const lightBackground = Color(0xFFF5F5F5);
  static const lightPrimary = Color(0xFFFF000E); // 网易云红

  // 黑夜模式颜色
  static const darkTextColor = Color(0xFFEFEFEF);
  static const darkSubTextColor = Color(0xFF888888);
  static const darkBackground = Color(0xFF121212);
  static const darkPrimary = Color(0xFFFF000E); // 不变

  // 统一使用的颜色 getter（便于动态切换）
  static Color getTextColor(BuildContext context) =>
      Theme.of(context).textTheme.bodyLarge?.color ?? Colors.black;

  static Color getBackgroundColor(BuildContext context) =>
      Theme.of(context).scaffoldBackgroundColor;
}
